#!/bin/sh

# set paths
DoxShareDir=$HOME/bin/sunsys-dox/share
DoxBinDir=$HOME/bin/sunsys-dox/bin

# run doxygen and dox
/usr/bin/doxygen
$DoxBinDir/dox .

# create html/resources dir
if ! test -d ./html/resources ; then
	mkdir ./html/resources
fi

# copy resources
cp $DoxShareDir/*.*           ./html
cp $DoxShareDir/resources/*.* ./html/resources
